#include "coordinates.h"

Coordinates::Coordinates(double a, double b) :
    firstCoordinate(a), secondCoordinate(b)
{

}

Coordinates::Coordinates() : firstCoordinate(0), secondCoordinate(0)
{

}

Coordinates::Coordinates(const Coordinates &obj)
{
    firstCoordinate = obj.firstCoordinate;
    secondCoordinate = obj.secondCoordinate;
}

void Coordinates::set(double a, double b)
{
    firstCoordinate = a;
    secondCoordinate = b;
}

pair<double, double> Coordinates::get()
{
    pair<double, double> tmp(firstCoordinate, secondCoordinate);
    return tmp;
}

Coordinates::~Coordinates()
{

}
